package com.oweight.sagacious.auth.server.infrastructure.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 客户端信息配置
 *
 * @author 周广明
 * @version v1 2019/10/21 16:07
 */
@Configuration
public class ClientConfiguration {

    /**
     * 客户端ID
     */
    @Value("${client.id}")
    private String clientId;

    /**
     * 客户端密码
     */
    @Value("${client.secret}")
    private String clientSecret;

    /**
     * 客户端token-header
     */
    @Value("${client.token-header}")
    private String clientTokenHeader;

    public String getClientTokenHeader() {
        return clientTokenHeader;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public String getClientId() {
        return clientId;
    }

}
